Pass the root directory to Doxyfilter and thence pythfilter.py so that the latter...
authorewan@linford.intra <ewan@linford.intra>
Tue, 13 Sep 2005 13:41:05 +0000 (14:41 +0100)
committerewan@linford.intra <ewan@linford.intra>
Tue, 13 Sep 2005 13:41:05 +0000 (14:41 +0100)
docs/Doxyfilter

index a5c413bb44c0f55fd8cbc40e9497bdda331486d2..6a6d50f7348d991c598e71bde7713f066b5e6872 100644 (file)
@@ -1,12 +1,16 @@
 #!/bin/sh
 
+#
+# Doxyfilter <source-root> <filename>
+#
+
 dir=$(dirname "$0")
 
 PYFILTER="$dir/pythfilter.py"
 
-if [ "${1/.py/}" != "$1" ]
+if [ "${2/.py/}" != "$2" ]
 then
-    python "$PYFILTER" -f "$1"
+    python "$PYFILTER" -r "$1" -f "$2"
 else
-    cat "$1"
+    cat "$2"
 fi